package cn.bb.bbstudy.dao;

import cn.bb.bbstudy.pojo.UserInfo;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface UserInfoDAO {
    /**
     * insert record to table
     *
     * @param record the record
     * @return insert count
     */
    int insert(UserInfo record);

    /**
     * insert record to table selective
     *
     * @param record the record
     * @return insert count
     */
    int insertSelective(UserInfo record);

    UserInfo selectInfoByUid(String uid);

    void updateByUid(UserInfo userInfo);

}